
package com.mephi.exception;


/**
 * Exception describes situation when game is in illegal state.
 * @author GM Mephisto
 * @since 2011-07-25
 */
public class IllegalGameStateException extends BaseApplicationException
{
	public IllegalGameStateException()
    {
        super("Executed operation ended with errorCode: " + ERROR_CODE + "\nIvalid game state!");
    }

    public IllegalGameStateException(String msg)
    {
    	super(msg);
    }

    
    private static final long serialVersionUID = 830150394027578378L;
    private final static String ERROR_CODE = "illegalGameStateException";
}
